Skip to content

Add timestamps to pin histories (extensible to all settable items) #116

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Feb 20, 2019

Conversation

ianfixes
Copy link
Collaborator

Highlights from CHANGELOG.md

Added

  • release-new-version.sh script
  • outputs for PinHistory can now report timestamps
  • Fibonacci Clock for clock testing purposes (internal to this library)

Changed

  • Shortened ArduinoQueue push and pop operations

  • ci/Queue.h is now MockEventQueue.h, with timing data

  • MockEventQueue::Node now contains struct MockEventQueue::Event, which contains both the templated type T and a field for a timestamp.

  • Construction of MockEventQueue now includes a constructor argument for the time-fetching function

  • Construction of PinHistory now includes a constructor argument for the time-fetching function

  • PinHistory can now return an array of timestamps for its events

  • GodmodeState is now a singleton pattern, which is necessary to support the globality of Arduino functions

  • GodmodeState now uses timestamped PinHistory for Analog and Digital

  • See CHANGELOG.md for more

Issues Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant